execute as @s[team=] run return run function vs:item/use/use_fail
execute as @s[team=red] run function vs:chain/add {command:"red",id:"frequency_modulator"}
execute as @s[team=blue] run function vs:chain/add {command:"blue",id:"frequency_modulator"}